package com.littleken.foodieApi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/*
 * Create by littleken on 2020/11/20 14:09
 */
@SpringBootApplication
//扫描全部的模块
@ComponentScan({"com.littleken"})
@MapperScan("com.littleken.foodieMapper")
//@EnableScheduling //开启定时任务
public class FooddieApiApplication {

    public static void main(String[] args) {
        SpringApplication.run(FooddieApiApplication.class, args);
    }

}
